package cn.com.petrochina.lpm3.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName PC_PRO_HORI_METER_DAILY
 */
@TableName(value = "PC_PRO_HORI_METER_DAILY")
@Data
public class ProHoriMeterDaily implements Serializable {
    /**
     * 唯一的井标识符，独立且唯一，引自PC_WELL_PROD_HORIZON表的井ID(WELL_ID)字段”
     */
    @MppMultiId
    @TableField(value = "WELL_ID")
    private String wellId;

    /**
     * 填写格式：YYYY-MM-DD
     */
    @MppMultiId
    @TableField(value = "PROD_DATE")
    private Date prodDate;

    /**
     * 井筒唯一标识符,引自PC_WELL_PROD_HORIZON
     */
    @MppMultiId
    @TableField(value = "WELLBORE_ID")
    private String wellboreId;

    /**
     * 引自PC_WELL_PROD_HORIZON
     */
    @MppMultiId
    @TableField(value = "PROD_HORIZON_ID")
    private String prodHorizonId;

    /**
     * 填平均的量油时间MIN
     */
    @TableField(value = "TESTING_TIME")
    private BigDecimal testingTime;

    /**
     * 计量产液量T
     */
    @TableField(value = "TEST_LIQU_VOL_DAILY")
    private BigDecimal testLiquVolDaily;

    /**
     * 选用产液量T
     */
    @TableField(value = "SEL_LIQU_VOL_DAILY")
    private BigDecimal selLiquVolDaily;

    /**
     * 计量产气量M^3
     */
    @TableField(value = "TEST_GAS_VOL_DAILY")
    private BigDecimal testGasVolDaily;

    /**
     * 可用填1，否则填0
     */
    @TableField(value = "VALID_TEST")
    private String validTest;

    /**
     * 计量产水量T
     */
    @TableField(value = "TEST_WAT_VOL_DAILY")
    private BigDecimal testWatVolDaily;

    /**
     * 计量凝析油量T
     */
    @TableField(value = "TEST_CONDENSATE_OIL")
    private BigDecimal testCondensateOil;

    /**
     * 停掺与非停掺的标识，停掺填1，否则填0
     */
    @TableField(value = "LIQU_MIX_TAG")
    private String liquMixTag;

    /**
     * 计量产油量T
     */
    @TableField(value = "TEST_OIL_VOL_DAILY")
    private BigDecimal testOilVolDaily;

    /**
     * 多口井同时计量时，根据分产参数计算当前井的产液量%
     */
    @TableField(value = "LIQU_ASSIGN_PERCENT")
    private BigDecimal liquAssignPercent;

    /**
     * 多口井同时计量时，根据分产参数计算当前井的产气量%
     */
    @TableField(value = "GAS_ASSIGN_PERCENT")
    private BigDecimal gasAssignPercent;

    /**
     * 油表初始读数T
     */
    @TableField(value = "TEST_OIL_VOL_DAILY_INITIAL")
    private BigDecimal testOilVolDailyInitial;

    /**
     * 水表初始读数T
     */
    @TableField(value = "TEST_WAT_VOL_DAILY_INITIAL")
    private BigDecimal testWatVolDailyInitial;

    /**
     * 气表初始读数M^3
     */
    @TableField(value = "TEST_GAS_VOL_DAILY_INITIAL")
    private BigDecimal testGasVolDailyInitial;

    /**
     * 创建日期
     */
    @TableField(value = "CREATE_DATE")
    private Date createDate;

    /**
     * 创建用户ID
     */
    @TableField(value = "CREATE_USER_ID")
    private String createUserId;

    /**
     * 最后更新日期
     */
    @TableField(value = "UPDATE_DATE")
    private Date updateDate;

    /**
     * 最后更新用户ID
     */
    @TableField(value = "UPDATE_USER_ID")
    private String updateUserId;

    /**
     * 备注
     */
    @TableField(value = "REMARK")
    private String remark;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}